﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Level_LightLLKItem : MonoBehaviour
{
    public Level_LightLLK llk;


    public Button btn;
    public Image blackImage;
    public Image colorImage;

    public int id;
    //public button 
    // Start is called before the first frame update
    void Start()
    {
        btn.onClick.AddListener(() =>
        {
            blackImage.enabled = false;
            colorImage.enabled = true;
            llk.AddItem(this);
        });
    }

    public void ResetItem()
    {
        blackImage.enabled = true;
        colorImage.enabled = false;
    }

}
